package com.example.forum.utils;

import java.util.UUID;

public class UUIDSaltUtils {
    //生成一个36位的随机字符
    public static String uuidSalt_36() {
        return UUID.randomUUID().toString();
    }

    //生成一个32位的随机字符
    public static String uuidSalt_32() {
        return UUID.randomUUID().toString().replace("-", "");
    }
}
